package com.sky.context;

public class BaseContext2 {

    public static ThreadLocal<String> threadLocal2 = new ThreadLocal<>();

    public static void setCurrentId(String id) {
        threadLocal2.set(id);
    }

    public static String getCurrentId() {
        return threadLocal2.get();
    }


    public static void removeCurrentId() {
        threadLocal2.remove();
    }


}
